package com.perdragon.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.perdragon.entity.Educate;

@Repository
public interface EducateRepository {
	public List<Educate> listEducate(int startRow);

	public List<Educate> listEducateFinished(int startRow);

	public int addEducate(Educate educate);

	public void delete(int id);

	public Educate selectById(int id);

	public void toFinished(Educate educate);

	public int getRowNum();

	public int getRowNumFinished();
}
